package org.dialMsg.Server.ServerImp;

import lombok.AllArgsConstructor;
import org.dialMsg.Mapper.JpaEntityMapper;
import org.dialMsg.Pojo.HnCrmContChildState;
import org.dialMsg.Pojo.TCrmContChildState;
import org.dialMsg.Server.ServerInt.JpaEntityService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author DPF
 */
@Service
public class JpaEntityServiceImp implements JpaEntityService {
    @Autowired
    private JpaEntityMapper jpaEntityServiceMapper;
    @Override
    public TCrmContChildState findEntityById(int i) {
        return jpaEntityServiceMapper.findEntityById(i);
    }

    @Override
    public HnCrmContChildState findHnEntityById(int i) {
        return jpaEntityServiceMapper.findHnEntityById(i);
    }
}
